package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author longzhen.gong
 * @date 2021/6/9 16:10
 */
@Data
public class AccountVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonProperty(value = "account_id")
    private Integer accountId;


    private Long phone;


    private String username;

    @JsonProperty("nick_name")
    private String nickname;


    private Integer sex;


    private String token;


    private Integer status = 0;

    @JsonProperty(value = "profile_photo")
    private String profilePhoto;

    @JsonProperty(value = "account_type")
    private Integer accountType;

    @JsonProperty(value = "third_user_id")
    private String thirdUserId;

    @JsonProperty(value = "updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty(value = "created_at")
    private LocalDateTime createdAt;

    @JsonProperty(value = "deleted_at")
    private LocalDateTime deletedAt;

    /**
     * 0=未删除,1=删除
     */
    @JsonProperty(value = "is_deleted")
    private Integer isDeleted;

}
